<?php

namespace app\admin\controller;

use app\admin\services\CustomerService;

class Customer extends \app\BaseController
{
    protected $middleware = [
        'CheckTokenMiddleware'
    ];
    public function index(){
        $p=$this->request->get();
        CustomerService::index($p);
    }
    public function edit(){
        $p=$this->request->post();
        CustomerService::edit($p);
    }
    public function del(){
        $p=$this->request->post();
        CustomerService::del($p);
    }
}
